package com.ruoyi.mapper;

import java.util.List;
import com.ruoyi.domain.Elderlyinfo;

/**
 * ElderlyinfoMapper接口
 * 
 * @author 王皎宇
 * @date 2025-01-10
 */
public interface ElderlyinfoMapper 
{
    /**
     * 查询Elderlyinfo
     * 
     * @param elderlyId Elderlyinfo主键
     * @return Elderlyinfo
     */
    public Elderlyinfo selectElderlyinfoByElderlyId(Long elderlyId);

    /**
     * 查询Elderlyinfo列表
     * 
     * @param elderlyinfo Elderlyinfo
     * @return Elderlyinfo集合
     */
    public List<Elderlyinfo> selectElderlyinfoList(Elderlyinfo elderlyinfo);

    /**
     * 新增Elderlyinfo
     * 
     * @param elderlyinfo Elderlyinfo
     * @return 结果
     */
    public int insertElderlyinfo(Elderlyinfo elderlyinfo);

    /**
     * 修改Elderlyinfo
     * 
     * @param elderlyinfo Elderlyinfo
     * @return 结果
     */
    public int updateElderlyinfo(Elderlyinfo elderlyinfo);

    /**
     * 删除Elderlyinfo
     * 
     * @param elderlyId Elderlyinfo主键
     * @return 结果
     */
    public int deleteElderlyinfoByElderlyId(Long elderlyId);

    /**
     * 批量删除Elderlyinfo
     * 
     * @param elderlyIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteElderlyinfoByElderlyIds(Long[] elderlyIds);
}
